package com.yantong.pojo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class MarketingSeckill {
	private Long id;

	private Long centreId;

	private Long teamId;

	private String activityName;

	private Date startTime;

	private Date endTime;

	private Long productId;

	private String productName;

	private String thumb;
	//最小价格
	private BigDecimal minPrice;
	//最大价格
	private BigDecimal maxPrice;
	//总库存，如果是多个sku 那就是他们的总和
	private BigDecimal stock;

	/**
	 * 已售
	 */
	private Integer sales;
	private Integer purchasingCount;
	private List<MarketingSeckillSku> skus;

	public Integer getPurchasingCount() {
		return purchasingCount;
	}

	public void setPurchasingCount(Integer purchasingCount) {
		this.purchasingCount = purchasingCount;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCentreId() {
		return centreId;
	}

	public void setCentreId(Long centreId) {
		this.centreId = centreId;
	}

	public Long getTeamId() {
		return teamId;
	}

	public void setTeamId(Long teamId) {
		this.teamId = teamId;
	}

	public String getActivityName() {
		return activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName == null ? null : activityName.trim();
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName == null ? null : productName.trim();
	}

	public String getThumb() {
		return thumb;
	}

	public void setThumb(String thumb) {
		this.thumb = thumb == null ? null : thumb.trim();
	}

	public BigDecimal getMinPrice() {
		return minPrice;
	}

	public void setMinPrice(BigDecimal minPrice) {
		this.minPrice = minPrice;
	}

	public BigDecimal getMaxPrice() {
		return maxPrice;
	}

	public void setMaxPrice(BigDecimal maxPrice) {
		this.maxPrice = maxPrice;
	}

	public BigDecimal getStock() {
		return stock;
	}

	public void setStock(BigDecimal stock) {
		this.stock = stock;
	}

	public List<MarketingSeckillSku> getSkus() {
		return skus;
	}

	public void setSkus(List<MarketingSeckillSku> skus) {
		this.skus = skus;
	}

	public Integer getSales() {
		return sales;
	}

	public void setSales(Integer sales) {
		this.sales = sales;
	}
}